import React from 'react';
import {Helmet} from 'react-helmet';

function TitleContainer(props) {
  return(
    <React.Fragment>
      <Helmet>
        <title>{props.title}</title>
      </Helmet>
      {props.children}
    </React.Fragment>
  )
}

export default TitleContainer;